package com.yonyou.iuap.ipaas.connector.sdwcoatencent.internal.service.core;

import com.yonyou.iuap.ipaas.connector.sdwcoatencent.internal.SdwcoatencentConnection;

import java.util.List;

public interface ParamConvertService<T,E> {

    List<T> convertForBatchSave(List<E> list, SdwcoatencentConnection connection);

    List<T> convertForBatchDelete(List<E> list, SdwcoatencentConnection connection);

    T convertForSave(E objet, SdwcoatencentConnection connection);

    T convertForDelete(E objet, SdwcoatencentConnection connection);
}
